package com.fowo.api.service.handleWork;

import com.fowo.api.model.payable.PayableBatchPushJinideAction;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class payableBatchPushJinide implements PayableBatchPushJinideAction {
    @Resource
    private  payablePushJinide payablePushJinide;
    @Override
    public void run(List<Long> idList) throws Exception {
        for(int i=0;i<idList.size();i++){
            Long aLong = idList.get(i);
            payablePushJinide.run(aLong);
        }
    }
}
